package com.hongxun.modules.csg.entity.dxf;

/**
 * Created by xiaoji on 2016/4/15.
 */
public class Header {
    public String lastId="4AC";//2013
    public String width="1500";
    public String height="1000";
    public String x10="500";//左下角x
    public String y20="500";//左下角y

    public String getLastId() {
        return lastId;
    }

    public void setLastId(String lastId) {
        this.lastId = lastId;
    }

    public String getWidth() {
        return width;
    }

    public void setWidth(String width) {
        this.width = width;
    }

    public String getHeight() {
        return height;
    }

    public void setHeight(String height) {
        this.height = height;
    }

    public String getX10() {
        x10= Double.parseDouble(width)/2+"";
        return x10;
    }

    public void setX10(String x10) {
        this.x10 = x10;
    }

    public String getY20() {
        y20= Double.parseDouble(height)/2+"";
        return y20;
    }

    public void setY20(String y20) {
        this.y20 = y20;
    }
}
